/* 公共样式 */
/* 字符集声明 */
@charset "utf-8";

/* 内外边距默认样式去掉 */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
dl,
dd,
dt,
li,
ol {
    margin: 0;
    padding: 0;
}

/* 列表去掉小圆点 */
ul,
ol {
    list-style: none;
}

/* 去掉a的下划线 */
a {
    text-decoration: none;
}

/* 垂直对齐 */
img {
    vertical-align: bottom;
}

/* 版心 */
.container {
    width: 1200px;
    margin: 0 auto;
}

* {
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
}

//头部公共样式
header {
    /* 保证屏幕最小宽度为版心宽度 */
    min-width: 1200px;

    a {
        color: #fff;
    }

    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    height: 70px;
    width: 100%;
    border-bottom: 1px solid #ccc;
    line-height: 70px;
    position: absolute;
    z-index: 50;

    .logodiv {
        height: 70px;
        width: 130px;
    }

    .register {
        background-color: rgb(237, 81, 10);
        border: none;
        height: 30px;
        width: 90px;
        border-radius: 15px;
    }

    .login {
        border: 1px solid green;
        padding: 3px 15px;
        border-radius: 25px;
        font-size: 14px;
        margin-right: 15px;
        border: 1px solid #ccc;
        background: rgba(255, 255, 255, 0.1);
    }

    .img {
        .logo {
            position: absolute;
            top: 50%;
            transform: translateY(-25%);
        }
    }

    nav {
        display: flex;
        justify-content: space-around;

        a {
            margin: 0 8px;
        }

        a.active {
            padding-bottom: 20px;
            font-size: 18px;
            border-bottom: 2px solid rgb(16, 174, 47);
            line-height: 65px;
        }
    }
}


//footer公共样式
footer {
    height: 400px;
    padding-top: 50px;
    display: flex;
    justify-content: space-between;

    .ul1 {
        display: flex;
        height: 240px;
        width: 760px;
        justify-content: space-between;

        li {
            height: 240px;
            width: 115px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;


        }
    }

    //   所有的H2和A样式
    h2 {
        margin-bottom: 30px;
        font-size: 18px;
        font-weight: bold;
    }

    // background-color: rgb(101, 30, 30);
    a {
        display: block;
        color: rgb(184, 184, 184);
        margin: 15px 0;
    }
    .ul2{
        height: 240px;
        width: 190px;
        background-color: rgb(60, 173, 103);
       
       
    }

}